Optimal. Leaf size=89 \[ \frac {\sec ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{2 d (a+b)}-\frac {a \tanh ^{-1}\left (\frac {a+b \sin ^2(c+d x)}{\sqrt {a+b} \sqrt {a+b \sin ^4(c+d x)}}\right )}{2 d (a+b)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {3229, 807, 725, 206} \[ \frac {\sec ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{2 d (a+b)}-\frac {a \tanh ^{-1}\left (\frac {a+b \sin ^2(c+d x)}{\sqrt {a+b} \sqrt {a+b \sin ^4(c+d x)}}\right )}{2 d (a+b)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 725
Rule 807
Rule 3229
Rubi steps
\begin {align*} \int \frac {\tan ^3(c+d x)}{\sqrt {a+b \sin ^4(c+d x)}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {x}{(1-x)^2 \sqrt {a+b x^2}} \, dx,x,\sin ^2(c+d x)\right )}{2 d}\\ &=\frac {\sec ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{2 (a+b) d}-\frac {a \operatorname {Subst}\left (\int \frac {1}{(1-x) \sqrt {a+b x^2}} \, dx,x,\sin ^2(c+d x)\right )}{2 (a+b) d}\\ &=\frac {\sec ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{2 (a+b) d}+\frac {a \operatorname {Subst}\left (\int \frac {1}{a+b-x^2} \, dx,x,\frac {-a-b \sin ^2(c+d x)}{\sqrt {a+b \sin ^4(c+d x)}}\right )}{2 (a+b) d}\\ &=-\frac {a \tanh ^{-1}\left (\frac {a+b \sin ^2(c+d x)}{\sqrt {a+b} \sqrt {a+b \sin ^4(c+d x)}}\right )}{2 (a+b)^{3/2} d}+\frac {\sec ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{2 (a+b) d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.20, size = 85, normalized size = 0.96 \[ -\frac {\frac {a \tanh ^{-1}\left (\frac {a+b \sin ^2(c+d x)}{\sqrt {a+b} \sqrt {a+b \sin ^4(c+d x)}}\right )}{(a+b)^{3/2}}-\frac {\sec ^2(c+d x) \sqrt {a+b \sin ^4(c+d x)}}{a+b}}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.64, size = 361, normalized size = 4.06 \[ \left [\frac {\sqrt {a + b} a \cos \left (d x + c\right )^{2} \log \left (\frac {{\left (a b + 2 \, b^{2}\right )} \cos \left (d x + c\right )^{4} - 4 \, {\left (a b + b^{2}\right )} \cos \left (d x + c\right )^{2} + 2 \, \sqrt {b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} {\left (b \cos \left (d x + c\right )^{2} - a - b\right )} \sqrt {a + b} + 2 \, a^{2} + 4 \, a b + 2 \, b^{2}}{\cos \left (d x + c\right )^{4}}\right ) + 2 \, \sqrt {b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} {\left (a + b\right )}}{4 \, {\left (a^{2} + 2 \, a b + b^{2}\right )} d \cos \left (d x + c\right )^{2}}, -\frac {a \sqrt {-a - b} \arctan \left (\frac {\sqrt {b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} {\left (b \cos \left (d x + c\right )^{2} - a - b\right )} \sqrt {-a - b}}{{\left (a b + b^{2}\right )} \cos \left (d x + c\right )^{4} - 2 \, {\left (a b + b^{2}\right )} \cos \left (d x + c\right )^{2} + a^{2} + 2 \, a b + b^{2}}\right ) \cos \left (d x + c\right )^{2} - \sqrt {b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} {\left (a + b\right )}}{2 \, {\left (a^{2} + 2 \, a b + b^{2}\right )} d \cos \left (d x + c\right )^{2}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\tan \left (d x + c\right )^{3}}{\sqrt {b \sin \left (d x + c\right )^{4} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.52, size = 0, normalized size = 0.00 \[ \int \frac {\tan ^{3}\left (d x +c \right )}{\sqrt {a +b \left (\sin ^{4}\left (d x +c \right )\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\tan \left (d x + c\right )^{3}}{\sqrt {b \sin \left (d x + c\right )^{4} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\mathrm {tan}\left (c+d\,x\right )}^3}{\sqrt {b\,{\sin \left (c+d\,x\right )}^4+a}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\tan ^{3}{\left (c + d x \right )}}{\sqrt {a + b \sin ^{4}{\left (c + d x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________